package com.gupao.config;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Devin on 2018/1/9.
 * 模拟web.xml
 */
public class ServletConfigMapping {
    private static List<JServletConfig> configs = new ArrayList<JServletConfig>();
    static {
        configs.add(new JServletConfig("JemServlet","/jem/get","com.gupao.servlet.JemServlet"));
        configs.add(new JServletConfig("KobeServlet","/kobe/get","com.gupao.servlet.KobeServlet"));
    }
    public static List<JServletConfig> getConfigs(){
        return configs;
    }
}
